/**
 * @Desc:
 * @User: zouqihui
 * @Date: 2022/11/22 17:05
 */
package controllers

import (
	"github.com/beego/beego/v2/server/web"
)

type ConfigController struct {
	web.Controller
}

func (c *ConfigController) GetConfig() {
	val, _ := web.AppConfig.String("defaultdb")
	c.Ctx.WriteString(val)
}
